﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
	String path=request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="广东技术师范学院影视天地"/>
<meta name="description" content="每个广师人一同分享的一片娱乐空间。"/>
<title>广师影视中心</title>
<link rel="stylesheet" href="<%=path%>/css/home.css" />
<script type="text/javascript" src="<%=path%>/js/common.js"></script>


<script language="javascript">
		window.onload = function(){
			var SDmodel = new scrollDoor();
			SDmodel.sd(["m_0_0","m_0_1","m_0_2","m_0_3","m_0_4","m_0_5"],["c_0_0","c_0_1","c_0_2","c_0_3","c_0_4","c_0_5"],"sd01","sd02");
			SDmodel.sd(["m_1_0","m_1_1","m_1_2","m_1_3","m_1_4","m_1_5"],["c_1_0","c_1_1","c_1_2","c_1_3","c_1_4","c_1_5"],"sd01","sd02");
			SDmodel.sd(["m_2_0","m_2_1","m_2_2","m_2_3","m_2_4","m_2_5"],["c_2_0","c_2_1","c_2_2","c_2_3","c_2_4","c_2_5"],"sd01","sd02");
			<!--SDmodel.sd(["m_3_0","m_3_1","m_3_2","m_3_3","m_3_4","m_3_5"],["c_3_0","c_3_1","c_3_2","c_3_3","c_3_4","c_3_5"],"sd01","sd02");-->
			SDmodel.sd(["m_4_0","m_4_1","m_4_2","m_4_3","m_4_4","m_4_5"],["c_4_0","c_4_1","c_4_2","c_4_3","c_4_4","c_4_5"],"sd01","sd02");
			}
</script>
</head>


<body>
<div id="container">
	<jsp:include page="header.jsp"></jsp:include>
	<div id="content">
	<!--最近更新栏目开始-->
	<div class="new">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>最近更新</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	  	<s:iterator value="latest" id="la">
		  	<div class="txt">
				<a class="pic" href="<%=path%>/index/detail.action?album.albumid=${la.albumid}"><img src="${la.picturepath}" title="${la.albumname}|${la.publishtime}"/></a>
				<h4><a title="${la.albumname}|${la.publishtime}" href="<%=path%>/index/detail.action?album.albumid=${la.albumid}">${fn:substring(la.albumname,0,12)}</a></h4>
				<p>顶:${la.support},踩:${la.oppose},浏览:${la.click}</p>
				<p>发布时间:${fn:substring(la.publishtime,0,10)}</p>
			</div>
		</s:iterator>
	  </div>
	</div>
	<!-- End -->
	<!--图片切换栏目开始-->
	<div class="flash">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>今日推荐</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <div class="mainS"><div class="flash-box">
		<div class="big-pic" id="SwitchBigPic">
			<s:iterator value="recommend" id="re">
			<a href="<%=path%>/index/detail.action?album.albumid=${re.albumid}"><img src="${re.picturepath}" title="${re.albumname}(顶:${re.support},踩:${re.oppose},浏览:${re.click})"/></a>
		</s:iterator>
		</div>
	
	
		<div class="pic-list">
			<ul id="ul_recom">
				<s:iterator value="recommend" id="rec" status="listStat">
				<a class="" id="SwitchSmaPic_${listStat.index}" href="<%=path%>/index/detail.action?album.albumid=${rec.albumid}" title="${rec.albumname}(顶:${rec.support},踩:${rec.oppose},浏览:${rec.click})">
				<img src="${rec.picturepath}" title="${rec.albumname}(顶:${rec.support},踩:${rec.oppose},浏览:${rec.click})"/></a>
				</s:iterator>
			</ul>
		</div>
	    </div></div></div>
	</div>
	<script type="text/javascript" >
	 BigNews.init(IndexRecom);
	 function auto(){BigNews.auto(IndexRecom);}
	 if(window.addEventListener){
		window.addEventListener('onload', auto, false);
	 }else if(window.attachEvent){
		window.attachEvent('onload', auto);}
	 else{
		//
	};
	 </script>
	<!-- End -->
	<!-- 排行榜选项卡开始 -->
	<div style="text-align:center; ">
	  <div class="nTab">
		<!-- 标题开始 -->
		<div class="TabTitle"> 
		  <ul id="myTab0">
			<li class="active" onmouseover="nTabs(this,0);">周</li>
			<li class="normal" onmouseover="nTabs(this,1);">月</li>
		  </ul>
		  <div class="TabText"><span style="text-decoration:none; color:#193b5f;">排行榜</span></div>
		</div>
		<!-- 内容开始 -->
		<div class="TabContent">
		  <div id="myTab0_Content0">
			<ol class="sort-list">
				<s:iterator value="weekHot" id="week" status="statuList">
					<li class="top">
						<em>${statuList.index+1}</em>
						<a title="${week.albumname}(顶:${week.support},踩:${week.oppose},本周浏览:${week.click-week.publisher})" href="<%=path%>/index/detail.action?album.albumid=${week.albumid}">${fn:substring(week.albumname,0,7)}</a>
						
						<span>${fn:substring(week.publishtime,5,10)}</span>
						<span class="score"><strong>${week.click-week.publisher}</strong></span>
					</li>
				</s:iterator>
			</ol>
		  </div>
		  <div id="myTab0_Content1" class="none">
			<ol class="sort-list">
				<s:iterator value="monthHot" id="month" status="statuList">
					<li class="top">
						<em>${statuList.index+1}</em>
						<a title="${month.albumname}(顶:${month.support},踩:${month.oppose},本月浏览:${month.click-month.comeoutdate})" href="<%=path%>/index/detail.action?album.albumid=${month.albumid}">${fn:substring(month.albumname,0,7)}</a>
						<a title="" class="playMov" href="<%=path%>/index/detail.action?album.albumid=${month.albumid}"></a>
						<span>${fn:substring(month.publishtime,5,10)}</span>
						<span class="score"><strong>${month.click-month.comeoutdate}</strong></span>			
					</li>
				</s:iterator>
			</ol>
		  </div>
		 
		</div>
	  </div>
	  <!-- 选项卡结束 -->
	</div>
	
	<div class="Channel">
	  <div class="nTitle">
		<div class="left_bg"></div>
		<div class="mid_bg"><h2>电影频道</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <div class="preview">
			<div class="scrolldoorFrame">
				<ul class="scrollUl">
					<s:iterator value="mtypes" id="mt" status="statuList">
						<a href="/ystd/index/search.action?keyword=${mt.typename}">
							<li class="sd0${statuList.index==0?1:2}" id="m_0_${statuList.index}">${mt.typename}</li>
						</a>
					</s:iterator>
				</ul>
				<div class="bor03 cont">
					<s:iterator value="movieList" id="ml" status="statuList">
						<div id="c_0_${statuList.index}" ${statuList.index==0?'':'class="hidden"'}>
							<ul class="contUl">
								<s:iterator value="ml" id="m">
									<li>
									  <p>
										  <a href="<%=path%>/index/detail.action?album.albumid=${m.albumid}" >
										  <img  width="86px" height="123px" src="${m.picturepath}" title="${m.albumname}(浏览:${m.click})"/></a>
									  </p>
									  <p><a title="${m.albumname}(浏览:${m.click})" href="<%=path%>/index/detail.action?album.albumid=${m.albumid}" >${fn:substring(m.albumname,0,7)}</a></p>
									  <p>顶:${m.support},踩:${m.oppose}</p>
									  <p>发布:${fn:substring(m.publishtime,2,10)}</p>
									</li>
								</s:iterator>
							</ul>
						</div>
					</s:iterator>
				</div>
			</div>
		</div>
	  </div>
	</div>
	<div class="phb">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>本月电影网友推荐榜</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <ol class="sort-list">
	    	<s:iterator value="movieHot" id="mh" status="statuList">
			    <li class="top">
					<em>${statuList.index+1}</em>
					<a title="${mh.albumname}(顶:${mh.support},踩:${mh.oppose},浏览:${mh.click})" href="<%=path%>/index/detail.action?album.albumid=${mh.albumid}">${fn:substring(mh.albumname,0,7)}</a>
					<a title="" class="playMov" href="#"></a>
					<span>${fn:substring(mh.publishtime,5,10)}</span>
					<span class="score"><strong>${mh.support-mh.count}</strong></span>		
				</li>
			</s:iterator>
	    </ol>
	  </div>
	</div>
	
	<div class="Channel">
	  <div class="nTitle">
		<div class="left_bg"></div>
		<div class="mid_bg"><h2>电视剧频道</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	  	<div class="preview">
			<div class="scrolldoorFrame">
				<ul class="scrollUl">
					<s:iterator value="tvTypes" id="tt" status="statuList">
					<a href="/ystd/index/search.action?keyword=${tt.typename}">
						<li class="sd0${statuList.index==0?1:2}" id="m_1_${statuList.index}">${tt.typename}</li>
					</a>
					</s:iterator>
				</ul>
				<div class="bor03 cont">
					<s:iterator value="tvList" id="tl" status="statuList">
						<div id="c_1_${statuList.index}" ${statuList.index==0?'':'class="hidden"'}>
							<ul class="contUl">
								<s:iterator value="tl" id="tv">
									<li>
									  <p><a href="<%=path%>/index/detail.action?album.albumid=${tv.albumid}" >
									  <img  width="86px" height="123px" src="${tv.picturepath}" title="${tv.albumname}(浏览:${tv.click})"/></a></p>
									  <p><a title="${tv.albumname}(浏览:${tv.click})" href="<%=path%>/index/detail.action?album.albumid=${tv.albumid}" >${fn:substring(tv.albumname,0,7)}</a></p>
									  <p>顶:${tv.support},踩:${tv.oppose}</p>
									  <p>发布:${fn:substring(tv.publishtime,2,10)}</p>
									</li>
								</s:iterator>
							</ul>
						</div>
					</s:iterator>
				</div>
			</div>
		</div>
	  </div>
	</div>
	<div class="phb">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>本月电视剧网友推荐榜</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <ol class="sort-list">
			<s:iterator value="tvHot" id="th" status="statuList">
			    <li class="top">
					<em>${statuList.index+1}</em>
					<a title="${th.albumname}(顶:${th.support},踩:${th.oppose},浏览:${th.click})" href="<%=path%>/index/detail.action?album.albumid=${th.albumid}">${fn:substring(th.albumname,0,7)}</a>
					<a title="" class="playMov" href="#"></a>
					<span>${fn:substring(th.publishtime,5,10)}</span>
					<span class="score"><strong>${th.support-th.count}</strong></span>		
				</li>
			</s:iterator>
		</ol>
	  </div>
	</div>
	
	<div class="Channel">
	  <div class="nTitle">
		<div class="left_bg"></div>
		<div class="mid_bg"><h2>卡通片频道</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	  	<div class="preview">
			<div class="scrolldoorFrame">
				<ul class="scrollUl">
					<s:iterator value="ktTypes" id="ktt" status="statuList">
					<a href="/ystd/index/search.action?keyword=${ktt.typename}">
						<li class="sd0${statuList.index==0?1:2}" id="m_2_${statuList.index}">${ktt.typename}</li>
					</a>
					</s:iterator>
				</ul>
				<div class="bor03 cont">
					<s:iterator value="ktList" id="kl" status="statuList">
						<div id="c_2_${statuList.index}" ${statuList.index==0?'':'class="hidden"'}>
							<ul class="contUl">
								<s:iterator value="kl" id="kt">
										<li>
										  <p><a href="<%=path%>/index/detail.action?album.albumid=${kt.albumid}" >
										  <img  width="86px" height="123px" src="${kt.picturepath}" title="${kt.albumname}(浏览:${kt.click})"/></a></p>
										  <p><a title="${kt.albumname}(浏览:${kt.click})" href="<%=path%>/index/detail.action?album.albumid=${kt.albumid}" >${fn:substring(kt.albumname,0,7)}</a></p>
										  <p>顶:${kt.support},踩:${kt.oppose}</p>
										  <p>发布:${fn:substring(kt.publishtime,2,10)}</p>
										</li>
								</s:iterator>
							</ul>
						</div>
					</s:iterator>
				</div>
			</div>
		</div>
	  </div>
	</div>
	<div class="phb">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>本月卡通网友推荐榜</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <ol class="sort-list">
			<s:iterator value="ktHot" id="kh" status="statuList">
			    <li class="top">
					<em>${statuList.index+1}</em>
					<a title="${kh.albumname}(顶:${kh.support},踩:${kh.oppose},浏览:${kh.click})" href="<%=path%>/index/detail.action?album.albumid=${kh.albumid}">${fn:substring(kh.albumname,0,7)}</a>
					<a title="" class="playMov" href="#"></a>
					<span>${fn:substring(kh.publishtime,5,10)}</span>
					<span class="score"><strong>${kh.support-kh.count}</strong></span>		
				</li>
			</s:iterator>
		</ol>
	  </div>
	</div>
	
	
	<div class="Channel">
	  <div class="nTitle">
		<div class="left_bg"></div>
		<div class="mid_bg"><h2>综艺频道</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	  	<div class="preview">
			<div class="scrolldoorFrame">
				<ul class="scrollUl">
					<s:iterator value="zyTypes" id="zt" status="statuList">
					<a href="/ystd/index/search.action?keyword=${zt.typename}">
						<li class="sd0${statuList.index==0?1:2}" id="m_4_${statuList.index}">${zt.typename}</li>
					</a>
					</s:iterator>
				</ul>
				<div class="bor03 cont">
					<s:iterator value="zyList" id="zl" status="statuList">
						<div id="c_4_${statuList.index}" ${statuList.index==0?'':'class="hidden"'}>
							<ul class="contUl">
								<s:iterator value="zl" id="zy">
										<li>
										  <p><a href="<%=path%>/index/detail.action?album.albumid=${zy.albumid}" >
										  <img  width="86px" height="123px" src="${zy.picturepath}" title="${zy.albumname}(浏览:${zy.click})"/></a></p>
										  <p><a title="${zy.albumname}(浏览:${zy.click})" href="<%=path%>/index/detail.action?album.albumid=${zy.albumid}" >${fn:substring(zy.albumname,0,7)}</a></p>
										  <p>顶:${zy.support},踩:${zy.oppose}</p>
										  <p>发布:${fn:substring(zy.publishtime,2,10)}</p>
										</li>
								</s:iterator>
							</ul>
						</div>
					</s:iterator>
				</div>
			</div>
		</div>
	  </div>
	</div>
	<div class="phb">
	  <div class="nTitle">
	  	<div class="left_bg"></div>
		<div class="mid_bg"><h2>本月综艺网友推荐榜</h2></div>
		<div class="right_bg"></div>
	  </div>
	  <div class="nContent">
	    <ol class="sort-list">
			<s:iterator value="zyHot" id="zh" status="statuList">
			    <li class="top">
					<em>${statuList.index+1}</em>
					<a title="${zh.albumname}(顶:${zh.support},踩:${zh.oppose},浏览:${zh.click})" href="<%=path%>/index/detail.action?album.albumid=${zh.albumid}">${fn:substring(zh.albumname,0,7)}</a>
					<a title="" class="playMov" href="#"></a>
					<span>${fn:substring(zh.publishtime,5,10)}</span>
					<span class="score"><strong>${zh.support-zh.count}</strong></span>		
				</li>
			</s:iterator>
		</ol>
	  </div>
	</div>
	</div>
	
	<div id="footer">
	  <p align="center">| 会员注册 | 关于我们 | 网络中心介绍 | 联络方法 | 给我留言 |</p>
	  <p align="center">版权所有 广东技术师范学院网络中心 (C) 2010 all right.</p>
	</div>
	
</div>
</body>
</html>
